Raspberry Pi タッチディプレイ
https://gyazo.com/f50aa8243971c3b8d6b1feb18de830ff
10点マルチタッチ可能 静電容量式タッチスクリーン
DSI(Display Serial Interface)ポートに接続
解像度
800×480@60fps
サイズ
横194 mm×縦110 mm×厚さ20 mm
スクリーンサイズ
155mm×86mm
https://www.raspberrypi.org/products/raspberry-pi-touch-display/
Raspberry Pi Touch Display - Raspberry Pi Documentation
Raspberry Pi ディスプレイ トラブルシューティング (Raspberry Pi Documentation)
OverScanをオフにしておく
解像度の確認
code:console
saito@smartpi:~ $ /usr/bin/tvservice -s
state 0x400000 LCD, 800x480 @ 60.00Hz, progressive
タッチパネルを長押しで右クリックにする
code:/usr/share/X11/xorg.conf.d/99-right-click.conf
Section "InputClass"
Identifier "calibration"
Driver "evdev"
MatchProduct "FT5406 memory based driver"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "750"
Option "EmulateThirdButtonMoveThreshold" "30"
EndSection
Raspberry Pi 4 Bにつないだとき,リブートすると画面が出なくなる
reboot時にディスプレイが見つからなくなるんだよね……
うまくいくとき
code:console
pi@raspberrypi:~ $ dmesg | grep drm
4.966081 drm Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
5.431471 vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops vc4)
5.431506 fb0: switching to vc4drmfb from simple
5.435430 drm Supports vblank timestamp caching Rev 2 (21.10.2013).
5.435443 drm No driver support for vblank timestamp query.
5.435455 drm Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
5.441382 drm Initialized vc4 0.0.0 20140616 for gpu on minor 1
5.451142 vc4-drm gpu: fb0: vc4drmfb frame buffer device
うまくいかないとき
code:console
pi@raspberrypi:~ $ dmesg | grep drm
4.553749 drm Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
4.644491 drm No displays found. Consider forcing hotplug if HDMI is attached
4.644610 vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops vc4)
4.644634 drm Supports vblank timestamp caching Rev 2 (21.10.2013).
4.644646 drm No driver support for vblank timestamp query.
4.644658 drm Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
4.645228 drm Initialized vc4 0.0.0 20140616 for gpu on minor 1
Issues with RasPi4 and original touchscreen - Raspberry Pi Forums
poweroff しろくらいしか解決策がない
p4+7" display no output after reboot - Raspberry Pi Forums
V2のディスプレイなら問題ないらしい
saitotetsuya.iconバージョンの確認方法は?
table:LCDモジュール
2015/07/01 PH800480T013-IAC01 (D/5624KIT-NOLOGO)
2018/11/01 YB-TG800480C43A-C-A1
2019/02/21 PH800480T013-IAC21 (D/5624/KIT-LC)
WIP: Pi4 Full KMS support (DPI) by 6by9 · Pull Request #3311 · raspberrypi/linux
dtoverlay=vc4-kms-kippah-7inch
HDMIに同じ画面を表示する
をインストールすればできる
Raspberry Pi 3B + Busterでも動いた
code:console
$ sudo apt install cmake libbsd-dev
$ mkdir ~/src
$ cd ~/src
$ git clone https://github.com/AndrewFromMelbourne/raspi2raspi
$ cd raspi2raspi
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
$ sudo cp ../raspi2raspi.service /etc/systemd/system/
$ sudo systemctl daemon-reload
$ sudo systemctl enable raspi2raspi.service
$ sudo systemctl start raspi2raspi
以下のように起動するとHDMIの画面をタッチディスプレイに出せる?
code:console
$ sudo ./raspi2raspi --source 5 --destination 4
#Raspberry_Pi